
package Visual;

public class frmModificarCanchada extends javax.swing.JDialog {

    private Principal principal = (Principal)this.getParent();
    public frmModificarCanchada(java.awt.Frame parent, boolean modal) {
        super(parent, modal);
        setTitle("Modificar Canchada");
        initComponents();
        this.setLocationRelativeTo(principal);
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jPanel1 = new javax.swing.JPanel();
        jLabel2 = new javax.swing.JLabel();
        jScrollPane1 = new javax.swing.JScrollPane();
        jListCanchadaModificarTraslado = new javax.swing.JList();
        lblPorcentajePaloModificarCanchada = new javax.swing.JLabel();
        lblPorcentajePolvoModificarCanchada = new javax.swing.JLabel();
        lbOrigenModificarCanchada = new javax.swing.JLabel();
        jTextPorcentajePaloCanchadaModificarCanchada = new javax.swing.JTextField();
        jTextPorcentajePolvoCanchadaModificarCanchada = new javax.swing.JTextField();
        jTextOrigenCanchadaModificarCanchada = new javax.swing.JTextField();
        jLabel1 = new javax.swing.JLabel();
        jScrollPane2 = new javax.swing.JScrollPane();
        jListYerbaVerdeModificarCanchada = new javax.swing.JList();
        lblCantidadModificarCanchada = new javax.swing.JLabel();
        jTextCantidadModificarCanchada = new javax.swing.JTextField();
        lblPorcentajeHumedadModificarCanchada = new javax.swing.JLabel();
        cmbPorcentajeHumedadModificarCanchada = new javax.swing.JComboBox();
        lblPorcentajePaloYVModificarCanchada = new javax.swing.JLabel();
        cmbPorcentajePaloModificarCanchada = new javax.swing.JComboBox();
        jLabel4 = new javax.swing.JLabel();
        lblFechaModificarCanchada = new javax.swing.JLabel();
        cmbDiaModificarCanchada = new javax.swing.JComboBox();
        cmbMesModificarCanchada = new javax.swing.JComboBox();
        cmbAnioModificarCanchada = new javax.swing.JComboBox();
        lblPesoBrutoModificarCanchada = new javax.swing.JLabel();
        jTextPesoBrutoModificarCanchada = new javax.swing.JTextField();
        lblPesoTaraModificarCanchada = new javax.swing.JLabel();
        jTextPesoTaraModificarCanchada = new javax.swing.JTextField();
        jLabel6 = new javax.swing.JLabel();
        lblNumeroDepositoModificarCanchada = new javax.swing.JLabel();
        jtNroDeposito = new javax.swing.JTextField();
        btnGuardarModificarCanchada = new javax.swing.JButton();
        btnAceptarModificarCanchada = new javax.swing.JButton();
        btnCancelarModificarCanchada = new javax.swing.JButton();

        setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);

        jLabel2.setText("Canchada");

        jListCanchadaModificarTraslado.setModel(new javax.swing.AbstractListModel() {
            String[] strings = { "No hay Canchada." };
            public int getSize() { return strings.length; }
            public Object getElementAt(int i) { return strings[i]; }
        });
        jScrollPane1.setViewportView(jListCanchadaModificarTraslado);

        lblPorcentajePaloModificarCanchada.setText("Porcentaje De Palo");

        lblPorcentajePolvoModificarCanchada.setText("Porcentaje De Polvo");

        lbOrigenModificarCanchada.setText("Origen");

        jLabel1.setText("Yerba Verde");
        jLabel1.setEnabled(false);

        jListYerbaVerdeModificarCanchada.setEnabled(false);
        jScrollPane2.setViewportView(jListYerbaVerdeModificarCanchada);

        lblCantidadModificarCanchada.setText("Cantidad");
        lblCantidadModificarCanchada.setEnabled(false);

        jTextCantidadModificarCanchada.setEnabled(false);

        lblPorcentajeHumedadModificarCanchada.setText("Porcentaje Humedad");
        lblPorcentajeHumedadModificarCanchada.setEnabled(false);

        cmbPorcentajeHumedadModificarCanchada.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "1%", "2%", "3%", "4%", "5%", "6%", "7%", "8%", "9%", "10%", "11%", "12%", "13%", "14%", "15%", "16%", "17%", "18%", "19%", "20%", "21%", "22%", "23%", "24%", "25%", "26%", "27%", "28%", "29%", "30%", "31%", "32%", "33%", "34%", "35%", "36%", "37%", "38%", "39%", "40%", "41%", "42%", "43%", "44%", "45%", "46%", "47%", "48%", "49%", "50%", "51%", "52%", "53%", "54%", "55%", "56%", "57%", "58%", "59%", "60%", "61%", "62%", "63%", "64%", "65%", "66%", "67%", "68%", "69%", "70%", "71%", "72%", "73%", "74%", "75%", "76%", "77%", "78%", "79%", "80%", "81%", "82%", "83%", "84%", "85%", "86%", "87%", "88%", "89%", "90%", "91%", "92%", "93%", "94%", "95%", "96%", "97%", "98%", "99%", "100%" }));
        cmbPorcentajeHumedadModificarCanchada.setEnabled(false);

        lblPorcentajePaloYVModificarCanchada.setText("Porcentaje Palo");
        lblPorcentajePaloYVModificarCanchada.setEnabled(false);

        cmbPorcentajePaloModificarCanchada.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "1%", "2%", "3%", "4%", "5%", "6%", "7%", "8%", "9%", "10%", "11%", "12%", "13%", "14%", "15%", "16%", "17%", "18%", "19%", "20%", "21%", "22%", "23%", "24%", "25%", "26%", "27%", "28%", "29%", "30%", "31%", "32%", "33%", "34%", "35%", "36%", "37%", "38%", "39%", "40%", "41%", "42%", "43%", "44%", "45%", "46%", "47%", "48%", "49%", "50%", "51%", "52%", "53%", "54%", "55%", "56%", "57%", "58%", "59%", "60%", "61%", "62%", "63%", "64%", "65%", "66%", "67%", "68%", "69%", "70%", "71%", "72%", "73%", "74%", "75%", "76%", "77%", "78%", "79%", "80%", "81%", "82%", "83%", "84%", "85%", "86%", "87%", "88%", "89%", "90%", "91%", "92%", "93%", "94%", "95%", "96%", "97%", "98%", "99%", "100%" }));
        cmbPorcentajePaloModificarCanchada.setEnabled(false);

        jLabel4.setText("Carga/Descarga:");
        jLabel4.setEnabled(false);

        lblFechaModificarCanchada.setText("Fecha");
        lblFechaModificarCanchada.setEnabled(false);

        cmbDiaModificarCanchada.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "30", "31" }));
        cmbDiaModificarCanchada.setEnabled(false);

        cmbMesModificarCanchada.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12" }));
        cmbMesModificarCanchada.setEnabled(false);

        cmbAnioModificarCanchada.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "2013", "2014", "2015", "2016" }));
        cmbAnioModificarCanchada.setEnabled(false);

        lblPesoBrutoModificarCanchada.setText("Peso Bruto");
        lblPesoBrutoModificarCanchada.setEnabled(false);

        jTextPesoBrutoModificarCanchada.setEnabled(false);

        lblPesoTaraModificarCanchada.setText("Peso Tara");
        lblPesoTaraModificarCanchada.setEnabled(false);

        jTextPesoTaraModificarCanchada.setEnabled(false);

        jLabel6.setText("Deposito:");
        jLabel6.setEnabled(false);

        lblNumeroDepositoModificarCanchada.setText("Numero de Deposito");
        lblNumeroDepositoModificarCanchada.setEnabled(false);

        jtNroDeposito.setEnabled(false);

        btnGuardarModificarCanchada.setText("Guardar");
        btnGuardarModificarCanchada.setEnabled(false);

        btnAceptarModificarCanchada.setText("Aceptar");
        btnAceptarModificarCanchada.setEnabled(false);

        btnCancelarModificarCanchada.setText("Cancelar");

        javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
        jPanel1.setLayout(jPanel1Layout);
        jPanel1Layout.setHorizontalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addGap(31, 31, 31)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel1Layout.createSequentialGroup()
                        .addGap(21, 21, 21)
                        .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jLabel2)
                            .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 132, javax.swing.GroupLayout.PREFERRED_SIZE)))
                    .addGroup(jPanel1Layout.createSequentialGroup()
                        .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(lblPorcentajePaloModificarCanchada)
                            .addComponent(lblPorcentajePolvoModificarCanchada)
                            .addComponent(lbOrigenModificarCanchada))
                        .addGap(18, 18, 18)
                        .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(jTextPorcentajePaloCanchadaModificarCanchada, javax.swing.GroupLayout.PREFERRED_SIZE, 62, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jTextPorcentajePolvoCanchadaModificarCanchada, javax.swing.GroupLayout.PREFERRED_SIZE, 62, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jTextOrigenCanchadaModificarCanchada, javax.swing.GroupLayout.PREFERRED_SIZE, 62, javax.swing.GroupLayout.PREFERRED_SIZE))))
                .addGap(27, 27, 27)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel1Layout.createSequentialGroup()
                        .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jLabel1)
                            .addGroup(jPanel1Layout.createSequentialGroup()
                                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                                    .addComponent(lblCantidadModificarCanchada)
                                    .addComponent(lblPorcentajeHumedadModificarCanchada)
                                    .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                        .addComponent(btnAceptarModificarCanchada)
                                        .addComponent(lblPorcentajePaloYVModificarCanchada)))
                                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addGroup(jPanel1Layout.createSequentialGroup()
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                        .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                            .addComponent(cmbPorcentajePaloModificarCanchada, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addComponent(cmbPorcentajeHumedadModificarCanchada, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addComponent(jTextCantidadModificarCanchada, javax.swing.GroupLayout.PREFERRED_SIZE, 25, javax.swing.GroupLayout.PREFERRED_SIZE)))
                                    .addGroup(jPanel1Layout.createSequentialGroup()
                                        .addGap(91, 91, 91)
                                        .addComponent(btnCancelarModificarCanchada)))))
                        .addGap(0, 0, Short.MAX_VALUE))
                    .addGroup(jPanel1Layout.createSequentialGroup()
                        .addComponent(jScrollPane2, javax.swing.GroupLayout.PREFERRED_SIZE, 137, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jPanel1Layout.createSequentialGroup()
                                .addGap(45, 45, 45)
                                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(jLabel4)
                                    .addComponent(jLabel6)
                                    .addGroup(jPanel1Layout.createSequentialGroup()
                                        .addComponent(lblNumeroDepositoModificarCanchada)
                                        .addGap(18, 18, 18)
                                        .addComponent(jtNroDeposito, javax.swing.GroupLayout.PREFERRED_SIZE, 29, javax.swing.GroupLayout.PREFERRED_SIZE)))
                                .addGap(0, 0, Short.MAX_VALUE))
                            .addGroup(jPanel1Layout.createSequentialGroup()
                                .addGap(27, 27, 27)
                                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addGroup(jPanel1Layout.createSequentialGroup()
                                        .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                            .addComponent(lblPesoBrutoModificarCanchada)
                                            .addComponent(lblPesoTaraModificarCanchada))
                                        .addGap(36, 36, 36)
                                        .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                            .addComponent(jTextPesoBrutoModificarCanchada)
                                            .addComponent(jTextPesoTaraModificarCanchada)))
                                    .addGroup(jPanel1Layout.createSequentialGroup()
                                        .addComponent(lblFechaModificarCanchada)
                                        .addGap(18, 18, 18)
                                        .addComponent(cmbDiaModificarCanchada, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                        .addComponent(cmbMesModificarCanchada, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                        .addComponent(cmbAnioModificarCanchada, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addGap(0, 76, Short.MAX_VALUE)))))))
                .addGap(50, 50, 50))
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addGap(111, 111, 111)
                .addComponent(btnGuardarModificarCanchada)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        jPanel1Layout.setVerticalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel2)
                    .addComponent(jLabel1)
                    .addComponent(jLabel4))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addGroup(jPanel1Layout.createSequentialGroup()
                        .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(cmbDiaModificarCanchada, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(cmbMesModificarCanchada, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(cmbAnioModificarCanchada, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(lblFechaModificarCanchada))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(lblPesoBrutoModificarCanchada)
                            .addComponent(jTextPesoBrutoModificarCanchada, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(lblPesoTaraModificarCanchada)
                            .addComponent(jTextPesoTaraModificarCanchada, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addComponent(jLabel6))
                    .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jScrollPane2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel1Layout.createSequentialGroup()
                        .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(lblPorcentajePaloModificarCanchada)
                            .addComponent(jTextPorcentajePaloCanchadaModificarCanchada, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addGap(9, 9, 9)
                        .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jTextPorcentajePolvoCanchadaModificarCanchada, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(lblPorcentajePolvoModificarCanchada))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(lbOrigenModificarCanchada)
                            .addComponent(jTextOrigenCanchadaModificarCanchada, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                    .addGroup(jPanel1Layout.createSequentialGroup()
                        .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jTextCantidadModificarCanchada, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                .addComponent(lblCantidadModificarCanchada)
                                .addComponent(lblNumeroDepositoModificarCanchada)
                                .addComponent(jtNroDeposito, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(lblPorcentajeHumedadModificarCanchada)
                            .addComponent(cmbPorcentajeHumedadModificarCanchada, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(lblPorcentajePaloYVModificarCanchada)
                            .addComponent(cmbPorcentajePaloModificarCanchada, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))))
                .addGap(33, 33, 33)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(btnGuardarModificarCanchada)
                    .addComponent(btnAceptarModificarCanchada)
                    .addComponent(btnCancelarModificarCanchada))
                .addContainerGap(26, Short.MAX_VALUE))
        );

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    /**
     * @param args the command line arguments
     */
    public void mainModificarCanchada() {
        /* Set the Nimbus look and feel */
        //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
        /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
         * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html 
         */
        try {
            for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
                if ("Nimbus".equals(info.getName())) {
                    javax.swing.UIManager.setLookAndFeel(info.getClassName());
                    break;
                }
            }
        } catch (ClassNotFoundException ex) {
            java.util.logging.Logger.getLogger(frmModificarCanchada.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (InstantiationException ex) {
            java.util.logging.Logger.getLogger(frmModificarCanchada.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (IllegalAccessException ex) {
            java.util.logging.Logger.getLogger(frmModificarCanchada.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (javax.swing.UnsupportedLookAndFeelException ex) {
            java.util.logging.Logger.getLogger(frmModificarCanchada.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        }
        //</editor-fold>

        /* Create and display the dialog */
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                frmModificarCanchada dialog = new frmModificarCanchada(new javax.swing.JFrame(), true);
                dialog.addWindowListener(new java.awt.event.WindowAdapter() {
                    @Override
                    public void windowClosing(java.awt.event.WindowEvent e) {
                        System.exit(0);
                    }
                });
                dialog.setVisible(true);
            }
        });
    }
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton btnAceptarModificarCanchada;
    private javax.swing.JButton btnCancelarModificarCanchada;
    private javax.swing.JButton btnGuardarModificarCanchada;
    private javax.swing.JComboBox cmbAnioModificarCanchada;
    private javax.swing.JComboBox cmbDiaModificarCanchada;
    private javax.swing.JComboBox cmbMesModificarCanchada;
    private javax.swing.JComboBox cmbPorcentajeHumedadModificarCanchada;
    private javax.swing.JComboBox cmbPorcentajePaloModificarCanchada;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JLabel jLabel6;
    private javax.swing.JList jListCanchadaModificarTraslado;
    private javax.swing.JList jListYerbaVerdeModificarCanchada;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JScrollPane jScrollPane2;
    private javax.swing.JTextField jTextCantidadModificarCanchada;
    private javax.swing.JTextField jTextOrigenCanchadaModificarCanchada;
    private javax.swing.JTextField jTextPesoBrutoModificarCanchada;
    private javax.swing.JTextField jTextPesoTaraModificarCanchada;
    private javax.swing.JTextField jTextPorcentajePaloCanchadaModificarCanchada;
    private javax.swing.JTextField jTextPorcentajePolvoCanchadaModificarCanchada;
    private javax.swing.JTextField jtNroDeposito;
    private javax.swing.JLabel lbOrigenModificarCanchada;
    private javax.swing.JLabel lblCantidadModificarCanchada;
    private javax.swing.JLabel lblFechaModificarCanchada;
    private javax.swing.JLabel lblNumeroDepositoModificarCanchada;
    private javax.swing.JLabel lblPesoBrutoModificarCanchada;
    private javax.swing.JLabel lblPesoTaraModificarCanchada;
    private javax.swing.JLabel lblPorcentajeHumedadModificarCanchada;
    private javax.swing.JLabel lblPorcentajePaloModificarCanchada;
    private javax.swing.JLabel lblPorcentajePaloYVModificarCanchada;
    private javax.swing.JLabel lblPorcentajePolvoModificarCanchada;
    // End of variables declaration//GEN-END:variables
}
